<!-- 功能介绍区域 -->
<template>
    <view class="container">
        <view class="list">
            <view v-for="m in menus" :key="m.name" @click="go(m.path)">
                <text>{{ m.name }}</text>
            </view>
        </view>
    </view>
</template>
<script>
export default {
    data() {
        return {
            menus: [
                { name: '鱼竿', path: '/pages/fishPole/index' },
                { name: '钓法', path: '/pages/fishMethods/index' },
                { name: '鱼种', path: '/pages/fishCategory/index' },
                { name: '漂相', path: '/pages/floatSignal/index' },
            ]
        }
    },
    methods: {
        go(path) {
            console.log(path)
            uni.navigateTo({
                url: path
            })
        }
    },
    onLoad() {
        console.log('uuuuuu')
    }
}
</script>
<style lang="less" scoped>
.list {
    display: flex;
    justify-content: space-around;
}
</style>